<?php
/**
 * Created by PhpStorm.
 * User: zd
 * Date: 2018/10/7
 * Time: 09:15
 */

namespace app\api\validate;


class ClassPagingParameter extends BaseValidate
{
    protected $rule=[
        'status'=>'isPositiveInt',
        'page'=>'isPositiveInt',
        'size'=>'isPositiveInt'
    ];
    protected  $message=[
        'status'=>'订单状态必须是正整数',
        'page'=>'分页必须是正整数',
        'size'=>'分页必须是正整数'
    ];
}